<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	template="/xhtml/templates/layout.xhtml">

	<ui:define name="title"> #{msgs.accueille_tabTitle} </ui:define>

	<ui:define name="entete">
		<h:form id="enteteForme" styleClass="container-vertically-centered">
			<p:toolbar id="enteteTolBar" style="height: 30px;">
				<p:toolbarGroup id="enteteTolBarGroup" align="left">
					<h:outputText value="#{msgs.accueille_title}" />
				</p:toolbarGroup>
			</p:toolbar>
		</h:form>
	</ui:define>
	
	<ui:define name="accueillePage">
		<h:form id="accueillePageForm">
			<h:panelGrid columns="1" styleClass="accueillePage">
				<h:graphicImage url="/images/agenda2.png" style="margin-left: 5%; margin-right: 35% " />
				<p:commandLink action="vueFormateur.xhtml" rendered="#{manageBeanAgenda.service.loginUser == 'admin'}" style="margin-left: 23%; margin-right: 1%" ajax="false">
					<h:outputText value="#{msgs.accueilleAdmin_link}" />
				</p:commandLink>
				<p:commandLink action="#{manageBeanUtilisateur.toSearch}" rendered="#{manageBeanAgenda.service.loginUser == 'respForma'}" style="margin-left: 7%;" ajax="false">
					<h:outputText value="#{msgs.accueilleRespForm_link}" />
				</p:commandLink>
				<p:commandLink action="agenda.xhtml" rendered="#{manageBeanAgenda.service.loginUser != 'admin' and manageBeanAgenda.service.loginUser != 'respForma'}" style="margin-left: 14%; margin-right: 1%" ajax="false">
					<h:outputText value="#{msgs.accueilleUser_link}" />
				</p:commandLink>
			</h:panelGrid>
		</h:form>
	</ui:define>

	<ui:define name="pieddepage">
		<h:form id="pieddepageForm" styleClass="container-vertically-centered">
			<p:toolbar id="pieddepageTolBar" style="height: 30px;">
			</p:toolbar>
		</h:form>
	</ui:define>

</ui:composition>